package DataStructure;

public class Normal {
    private final float i; // 法线向量的i分量
    private final float j; // 法线向量的j分量
    private final float k; // 法线向量的k分量

    public Normal(float i, float j, float k) {
        this.i = i;
        this.j = j;
        this.k = k;
    }

    public float getI() {
        return i;
    }
    public float getJ() {
        return j;
    }
    public float getK() {
        return k;
    }

    @Override
    public String toString() {
        return "Normal{" +
                "i=" + i +
                ", j=" + j +
                ", k=" + k +
                '}';
    }
}